package cn.com.vrv.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.alibaba.fastjson.JSONObject;

import lombok.Data;

/**
 * 识别结果
 * 
 * @author 赵炎
 * @version [V1.00, 2017年11月21日]
 * @see [相关类/方法]
 * @since V1.00
 */
@Entity
@Table(name="t_recognition_result_tbl")
@Data
public class RecognitionResult implements Serializable
{
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -513463635441591603L;
    
    /**
     * resultId 结果Id
     */
    @Id
    @GeneratedValue
    @Column(name="result_id")
    private Long resultId;
    
    /**
     * taskId 任务Id
     */
    @Column(name="task_id")
    private Long taskId;
    
    /**
     * recognitionResult 识别结果
     */
    @Column(name="recognition_result")
    private String recognitionResult;
    
    @Column(name="create_time")
    private Date createTime;
    
    @Override
    public String toString()
    {
        return JSONObject.toJSONString(this);
    }
}
